package com.hoshiicloud.payment.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program: hoshiicloud
 * @description: 退款返回实体
 * @author: Mr.wu
 * @create: 2019-06-03 19:32
 **/
@ApiModel(value = "订单退款返回")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class RefundResponse {

    /**
     * 订单总金额 单位为元
     */
    @ApiModelProperty(value = "订单总金额,单位为元")
    private BigDecimal totalAmount;

    /**
     * 退款金额 单位为元
     */
    @ApiModelProperty(value = "退款金额,单位为元")
    private BigDecimal refundAmount;

    /**
     * 我方退款订单号
     */
    @ApiModelProperty(value = "退款单号")
    private String refundNo;

    /**
     * 第三方退款订单号
     */
    @ApiModelProperty(value = "商户退款单号")
    private String outRefundNo;
}
